package org.cytoscape.myapp.cytoscape_app_v1.internal.grupos.comparadores;

public class ComparadorContenido extends Comparador {

	private Object value;
	
	public ComparadorContenido(Object value){
		this.value =value;
	}
	
	public boolean cumple(Object value) {
		return 	(value.toString().matches("(.*)"+this.value.toString()+"(.*)"));
	}
	
	public int size(){
		return 1;
	}
}
